package com.qumitech.visualnovel.datasource.console;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.console.DataQueryRecordDO;

public interface DataQueryRecordDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DataQueryRecordDO record);

    int insertSelective(DataQueryRecordDO record);

    DataQueryRecordDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DataQueryRecordDO record);

    int updateByPrimaryKey(DataQueryRecordDO record);

    int getCount(@Param("dataName") String dataName,
        @Param("argComments") String argComments,
        @Param("sysUserName") String sysUserName,
        @Param("startTime") String startTime,
        @Param("endTime") String endTime);

    List<DataQueryRecordDO> getList(@Param("dataName") String dataName,
        @Param("argComments") String argComments,
        @Param("sysUserName") String sysUserName,
        @Param("startTime") String startTime,
        @Param("endTime") String endTime,
        @Param("offset") Integer offset,
        @Param("limit") Integer limit);
}